<?php
	// se necesita para meter variables en
	// la sesiÃ³n
	session_start();
	
	// SE ha iniciado la sesiÃ³n?
	if ($_SESSION["nombre"] == "") {
		echo "NO HAS INICIADO SESIÓN";
		exit;
		header("Location: login.php");
	}else{
		echo "<div id='todo'>";
		echo "<div id='sesion'><h2>Bienvenido ".$_SESSION["nombre"]."</2></div>";
	}


?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>El Justiciero</title>
<link href="stylesheets/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="estilos.css" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
	<!-- Start Header -->
	<div>
<a href="logout.php"><h5>Cerrar Sesiçn</h5></a>	
</div>
	<div id="header">
		<div class="container">
			<h1><a href="#" title="ECOBUSINESS">El Justiciero<span></span></a></h1>
			<hr />
			<!-- top navigation -->
			<ul id="navigation">
				<li class="active"><a href="#" title="Home">Inicio</a></li>
				<li><a href="#" title="About">Sobre el programa</a></li>
				<li><a href="#" title="Contact">Contact</a></li>
			</ul>
			<hr />
			<!-- banner message and building background -->
			<div id="banner">
				Aplicación utilizada para puntuar las competencias tecnicas y las competencias clave de los alumnos para conseguir la nota total en sus asignaturas.
			</div>
			<hr />
		</div>
	</div>
	<!-- Start Main Content -->
	<div id="main" class="container">
		<!-- main content area -->
			<div id="center">
			<b>Modificar Datos</b><br />
			<table>
			<tr>
				<td>
				<form name="formu" method="post" action="alumnos.php">
				<fieldset><legend></legend>
					<input type="submit" id="alumnos" name="alumnos" value="Alumnos"></input>
				</fieldset>
				</form>
				</td>
				<td>
				<form name="formu" method="post" action="ciclos1.php">
				<fieldset><legend></legend>
					<input type="submit" id="ciclos1" name="ciclos1" value="Ciclos"></input>
				</fieldset>
				</form>
				</td>
				<td>
				<form name="formu" method="post" action="profesores1.php">
				<fieldset><legend></legend>
					<input type="submit" id="profesores1" name="profesores1" value="Profesores"></input>
				</fieldset>
				</td>
				<td>
				</form>
				<form name="formu" method="post" action="asignaturas.php">
				<fieldset><legend></legend>
					<input type="submit" id="asignaturas" name="asignaturas" value="Asignaturas"></input>
				</fieldset>
				</form>
				</td>
				<td>
				</form>
				<form name="formu" method="post" action="competencias1.php">
				<fieldset><legend></legend>
					<input type="submit" id="competencias1" name="competencias1" value="Competencias"></input>
				</fieldset>
				</form>
				</td>
				<td>
				</form>
				<form name="formu" method="post" action="ciclos.php">
				<fieldset><legend></legend>
					<input type="submit" id="evaluar" name="evaluar" value="Evaluar Alumnos"></input>
				</fieldset>
				</form>
				</td>
			</tr>
			</table>
			</div>

		</div>
		<!-- product sales boxes -->
		<div id="rightcolumn">

		</div>
	</div>
	<!-- Start Bottom Information -->
	<div id="bottominfo">
		<div class="container">
			<!-- bottom left information -->
			<div class="bottomcolumn">
				<h3>Links de interes</h3>
				<ul class="borderedlist iconlist">
					<li><a href="http://aula0.cuatrovientos.org/" title="aula0">aula0.cuatrovientos.org</a></li>
					<li><a href="http://alviento.cuatrovientos.org/" title="Al viento">Al viento (blog oficial)</a></li>
					<li><a href="#" title="Links to your services and promos">Links to your services and promos</a></li>
				</ul>
			</div>
			<!-- bottom center information -->
			<div class="bottomcolumn">
				<h3>Recent Client Lists</h3>
				<p>Here is a list of some of our satisfied customers.</p>
				<ul class="borderedlist iconlist">
					<li><a href="#" title="Keep your clients in the know">Keep your clients in the know</a></li>
					<li><a href="#" title="Current specials and discounts">Current specials and discounts</a></li>
					<li><a href="#" title="Links to your services and promos">Links to your services and promos</a></li>
				</ul>
			</div>
			<!-- bottom right information -->
			<div class="bottomcolumn bottomright">
				<h3>Stay Informed</h3>
				<p>Subscribe to our e-news. Every month you recieve all the latest info, straight to your inbox.</p>
				<form action="#">
					<input type="text" name="email" class="enewsbox" />
					<input type="button" class="button" value="Submit" />
				</form>
			</div>
			<hr />
		</div>
	</div>
	
	<!-- Start Footer -->
	<div id="footer">
		<div class="container">
			<a id="designby" href="http://www.studio7designs.com/" title="Design by STUDIO7DESIGNS">WEB DESIGN BY STUDIO7DESIGNS</a>
			<ul id="footer_navigation">
				<li><a href="#" title="Home">Home</a></li>
				<li><a href="#" title="About">About</a></li>
				<li><a href="#" title="Services">Services</a></li>
				<li><a href="#" title="Portofolio">Portofolio</a></li>
				<li><a href="#" title="Contact">Contact</a></li>
			</ul>
		</div>
	</div>

</body>
</html>
